package com.ishuoxiao.bean.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * LetterInfo entity. @author MyEclipse Persistence Tools
 */

public class LetterInfo implements java.io.Serializable {

	// Fields

	private Integer letterId;
	private String letterTitle;
	private Integer letterTypeId;
	private String letterKeyword;
	private Integer custId;
	private String creatorMail;
	private Boolean letterMarkState;
	private String creatorIp;
	private String letterVideoUrl;
	private String letterPicUrl;
	private String letterContent;
	private Date createDatetime;
	private Boolean letterPassState;
	private Integer letterTopNum;
	private Integer letterStepNum;
	private Boolean letterValidState;
	
	private CustInfo custInfo;  //帖子与用户之间的一对一
	
	private Set<MarkerInfo>  markerInfoList=new HashSet<MarkerInfo>(0); ;//帖子与帖子评论表之间的一对多
	// Constructors

	/** default constructor */
	public LetterInfo() {
	}

	/** minimal constructor */
	public LetterInfo(Integer letterTypeId, String letterKeyword,
			Boolean letterMarkState, Date createDatetime,
			Boolean letterPassState, Integer letterTopNum,
			Integer letterStepNum, Boolean letterValidState) {
		this.letterTypeId = letterTypeId;
		this.letterKeyword = letterKeyword;
		this.letterMarkState = letterMarkState;
		this.createDatetime = createDatetime;
		this.letterPassState = letterPassState;
		this.letterTopNum = letterTopNum;
		this.letterStepNum = letterStepNum;
		this.letterValidState = letterValidState;
	}

	/** full constructor */
	public LetterInfo(String letterTitle, Integer letterTypeId,
			String letterKeyword, Integer custId, String creatorMail,
			Boolean letterMarkState, String creatorIp, String letterVideoUrl,
			String letterPicUrl, String letterContent, Date createDatetime,
			Boolean letterPassState, Integer letterTopNum,
			Integer letterStepNum, Boolean letterValidState) {
		this.letterTitle = letterTitle;
		this.letterTypeId = letterTypeId;
		this.letterKeyword = letterKeyword;
		this.custId = custId;
		this.creatorMail = creatorMail;
		this.letterMarkState = letterMarkState;
		this.creatorIp = creatorIp;
		this.letterVideoUrl = letterVideoUrl;
		this.letterPicUrl = letterPicUrl;
		this.letterContent = letterContent;
		this.createDatetime = createDatetime;
		this.letterPassState = letterPassState;
		this.letterTopNum = letterTopNum;
		this.letterStepNum = letterStepNum;
		this.letterValidState = letterValidState;
	}

	// Property accessors

	public Integer getLetterId() {
		return this.letterId;
	}

	public void setLetterId(Integer letterId) {
		this.letterId = letterId;
	}

	public String getLetterTitle() {
		return this.letterTitle;
	}

	public void setLetterTitle(String letterTitle) {
		this.letterTitle = letterTitle;
	}

	public Integer getLetterTypeId() {
		return this.letterTypeId;
	}

	public void setLetterTypeId(Integer letterTypeId) {
		this.letterTypeId = letterTypeId;
	}

	public String getLetterKeyword() {
		return this.letterKeyword;
	}

	public void setLetterKeyword(String letterKeyword) {
		this.letterKeyword = letterKeyword;
	}

	public Integer getCustId() {
		return this.custId;
	}

	public void setCustId(Integer custId) {
		this.custId = custId;
	}

	public String getCreatorMail() {
		return this.creatorMail;
	}

	public void setCreatorMail(String creatorMail) {
		this.creatorMail = creatorMail;
	}

	public Boolean getLetterMarkState() {
		return this.letterMarkState;
	}

	public void setLetterMarkState(Boolean letterMarkState) {
		this.letterMarkState = letterMarkState;
	}

	public String getCreatorIp() {
		return this.creatorIp;
	}

	public void setCreatorIp(String creatorIp) {
		this.creatorIp = creatorIp;
	}

	public String getLetterVideoUrl() {
		return this.letterVideoUrl;
	}

	public void setLetterVideoUrl(String letterVideoUrl) {
		this.letterVideoUrl = letterVideoUrl;
	}

	public String getLetterPicUrl() {
		return this.letterPicUrl;
	}

	public void setLetterPicUrl(String letterPicUrl) {
		this.letterPicUrl = letterPicUrl;
	}

	public String getLetterContent() {
		return this.letterContent;
	}

	public void setLetterContent(String letterContent) {
		this.letterContent = letterContent;
	}

	public Date getCreateDatetime() {
		return this.createDatetime;
	}

	public void setCreateDatetime(Date createDatetime) {
		this.createDatetime = createDatetime;
	}

	public Boolean getLetterPassState() {
		return this.letterPassState;
	}

	public void setLetterPassState(Boolean letterPassState) {
		this.letterPassState = letterPassState;
	}

	public Integer getLetterTopNum() {
		return this.letterTopNum;
	}

	public void setLetterTopNum(Integer letterTopNum) {
		this.letterTopNum = letterTopNum;
	}

	public Integer getLetterStepNum() {
		return this.letterStepNum;
	}

	public void setLetterStepNum(Integer letterStepNum) {
		this.letterStepNum = letterStepNum;
	}

	public Boolean getLetterValidState() {
		return this.letterValidState;
	}

	public void setLetterValidState(Boolean letterValidState) {
		this.letterValidState = letterValidState;
	}

	public CustInfo getCustInfo() {
		return custInfo;
	}

	public void setCustInfo(CustInfo custInfo) {
		this.custInfo = custInfo;
	}

	public Set<MarkerInfo> getMarkerInfoList() {
		return markerInfoList;
	}

	public void setMarkerInfoList(Set<MarkerInfo> markerInfoList) {
		this.markerInfoList = markerInfoList;
	}

	

	

}